Skip to content

Conversation

@pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented May 1, 2026

Tested on dose:

$ sudo bee install libxcrypt-4.5.2
$ sudo bee update glibc-2.43

SSH and sudo work afterward. Restarting dose with sudo mxgrub --reboot also worked.

pmenzel added 6 commits April 28, 2026 16:26
Update to latest stable headers.
    In file included from ../sysdeps/unix/sysv/linux/include/sys/mount.h:22,
                     from ../sysdeps/unix/sysv/linux/umount.c:18:
    ../sysdeps/unix/sysv/linux/sys/mount.h:268: error: "OPEN_TREE_CLONE" redefined [-Werror]
      268 | #define OPEN_TREE_CLONE    1         /* Clone the target tree and attach the clone */
          |
    In file included from ../sysdeps/unix/sysv/linux/sys/mount.h:32:
    /usr/include/linux/mount.h:64: note: this is the location of the previous definition
       64 | #define OPEN_TREE_CLONE         (1 << 0)        /* Clone the target tree and attach the clone */
          |
    In file included from ../sysdeps/unix/sysv/linux/include/sys/mount.h:22,
                     from ../sysdeps/unix/sysv/linux/umount2.c:19:
    ../sysdeps/unix/sysv/linux/sys/mount.h:268: error: "OPEN_TREE_CLONE" redefined [-Werror]
      268 | #define OPEN_TREE_CLONE    1         /* Clone the target tree and attach the clone */
          |
    In file included from ../sysdeps/unix/sysv/linux/sys/mount.h:32:
    /usr/include/linux/mount.h:64: note: this is the location of the previous definition
       64 | #define OPEN_TREE_CLONE         (1 << 0)        /* Clone the target tree and attach the clone */
          |
    cc1: all warnings being treated as errors
    cc1: all warnings being treated as errors
    make[2]: *** [/dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/sysd-rules:263: /dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/misc/umount.os] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: *** [/dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/sysd-rules:263: /dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/misc/umount2.os] Error 1
    cc1: all warnings being treated as errors
    cc1: all warnings being treated as errors
    make[2]: *** [/dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/sysd-rules:247: /dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/misc/umount.o] Error 1
    make[2]: *** [/dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/sysd-rules:247: /dev/shm/bee-pmenzel/glibc/glibc-2.43-0/build/misc/umount2.o] Error 1
    make[2]: Leaving directory '/dev/shm/bee-pmenzel/glibc/glibc-2.43-0/source/misc'
    make[1]: *** [Makefile:484: misc/subdir_lib] Error 2
    make[1]: Leaving directory '/dev/shm/bee-pmenzel/glibc/glibc-2.43-0/source'
    make: *** [Makefile:20: all] Error 2
@pmenzel
Copy link
Collaborator Author

pmenzel commented May 1, 2026

Currently breaks PAM, and therefore SSH and sudo.

$ ssh dose
Connection closed by 141.14.17.51 port 22

@dose:~$ sudo bee remove glibc-memusage-fixup-2.36-0.x86_64
sudo: PAM account management error: Module is unknown
sudo: a password is required
$ su
su: Module is unknown

I’ll fix dose in the next days.

@thomas
Copy link
Collaborator

thomas commented May 2, 2026

Maybe this is related to the removal/deprecation of libcrypt.so.1 in glibc 2.38 /1/ ?
I guess introducing libxcrypt /2/ will solve the issue.

/1/ https://sourceware.org/glibc/wiki/Release/2.38#Building_libcrypt_is_disabled_by_default
/2/ https://github.com/besser82/libxcrypt

@pmenzel
Copy link
Collaborator Author

pmenzel commented May 5, 2026

@thomas, thank you for the tip. That was indeed it. After

$ sudo bee install libxcrypt-4.5.2
$ sudo bee update glibc-2.43

sudo still works, and I am able to log in over SSH.

Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants